package cn.tpshion.config.domain.dto;

import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 接收配置实体类
 */
@Data
public class ConfigInfoDTO implements Serializable {

    private static final long serialVersionUID = 1517431211220402330L;

    @NotEmpty(message = "配置域不能为空")
    private String name;

    @NotEmpty(message = "配置名称不能为空")
    private String key;

    @NotEmpty(message = "配置内容不能为空")
    private String value;

}
